package com.swg.seckill.controller;


import com.swg.seckill.rabbitmq.MQSender;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class demo {

    @Autowired
    private MQSender mqSender;


    @RequestMapping("/hellp")
    public String demo(){
        return "swg";
    }

}
